from my_utils import str_util
from my_utils import file_util

fz = str_util.str_reverse("汤龙祥") #反转
print(f"反转:{fz}")
qp = str_util.substr("123456789",0,5)
print(f"切片:{qp}")

file_info = file_util.print_file_info("C:/Users/Administrator/Desktop/1")
print(f"检测是否存在文件:{file_info}")
file_append=file_util.append_to_file("C:/Users/Administrator/Desktop/file_util.txt","追加内容")
print(f"追加内容到文件后:{file_util.print_file_info("C:/Users/Administrator/Desktop/file_util.txt")}")